/*公用样式*/
html,body{width:100%;}
html{}
body{width:100%;font:14px/2 "Microsoft Yahei","SimSun",Verdana, Arial, Helvetica, sans-serif;position:relative;}
*{margin:0;padding:0;}
img{border:none;}
.c-b,.clear{clear:both;}
.f-l{float:left;}
.f-r{float:right;}
input{color:#565656;border: 1px solid #e6e6e6; outline: none;}
input,img{vertical-align:middle;}
.lg-input,.lg-btn,.lg-select,.lg-textarea{
	outline: 0;
	-webkit-appearance: none;
	transition: all .3s;
	-webkit-transition: all .3s;
	box-sizing: border-box;
}
ul,li{list-style-type:none;}
.pointer{ cursor:pointer}
.text-center{text-align: center;}
.hide{display:none !important}

/*主体样式控制*/


/* 自定义表单样式*/
.lg-search {
	background: #f9f9f9;
}

.lg-search-item {
	margin: 5px;
	display: inline-block;
}

	.lg-search-item:after {
		clear: both;
		content: "";
		display: block
	}

.ts-label {
	float: left;
	line-height: 38px;
	display: inline-block;
	padding: 0 10px;
	width: auto;
}





.lg-form{
}
.lg-form-item{
	margin-bottom: 15px;
	clear: both;
}
.lg-form-item:after{
	display: block;
	content: "";
	clear: both;
}
.lg-input-block{
	position: relative;
	min-height: 36px;
}
.lg-input-inline{
	display: inline-block;
	vertical-align: middle;
}
.lg-form-item .lg-input-inline{
	float: left;
	width: 200px;
	margin-right: 5px;
	margin-bottom: 5px;
}
.lg-form-label{
	display: block;
	padding: 6px 0;
	font-weight: 400;
	line-height: 2;
}
.lg-input{
	display: block;
	width: 100%;
	padding-left: 10px;
	height: 36px;
	line-height: 1.3;
	border-width: 1px;
	border-style: solid;
	background-color: #fff;
	border-radius: 2px;
}
.lg-form input[type=checkbox], .lg-form input[type=radio], .lg-form select{
	display: none;
}
.lg-form-label,.lg-form-select,.lg-input-inline,.lg-input-block{
	position: relative;
}
.lg-form-select .lg-input{
	padding-right: 30px;
	cursor: pointer;
}
.lg-edge{
	display: inline-block;
	width: 0;
	height: 0;
	border-width: 6px;
	border-style: dashed;
	border-color: transparent;
}
.lg-form-select i.lg-edge{
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -3px;
	cursor: pointer;
	border-width: 6px;
	border-top-color: #c2c2c2;
	border-top-style: solid;
	transition: all .3s;
	-webkit-transition: all .3s;
}
.lg-form-select dl{
	    display: none;
	    position: absolute;
	    left: 0;
	    top: 42px;
	    padding: 5px 0;
	    z-index: 899;
	    min-width: 100%;
	    border: 1px solid #d2d2d2;
	    max-height: 300px;
	    overflow-y: auto;
	    background-color: #fff;
	    border-radius: 2px;
	    box-shadow: 0 2px 4px rgba(0,0,0,.12);
	    box-sizing: border-box;
}
.lg-form-select.lg-form-selected dl{
	display: block;
}
.lg-form-select dl dd, .lg-form-select dl dt {
	 cursor: pointer;
    padding: 0 10px;
    line-height: 36px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	 transition: all 0.3s;
}
.lg-form-select dl dd.lg-this{
	    background-color: #5FB878;
	    color: #fff;
}
.lg-form-select dl dd.lg-select-tips{
	    padding-left: 10px!important;
	    color: #999;
}
.lg-form-select dl dd:hover{
	background-color:#f2f2f2;
}
.lg-form-select dl dd.lg-this:hover{
	    background-color: #5FB878;
	    color: #fff;
}
.lg-form-selected dl{
	display: block;
}
.lg-form-selected i.lg-edge{
	transform:rotate(180deg);
	margin-top: -9px;
}
.lg-anim{
	-webkit-animation-duration: .3s;
	animation-duration: .3s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.lg-anim-upbit{
	    animation-name: lg-upbit;
}

.lg-form-checkbox, .lg-form-checkbox *, .lg-form-switch{
	    display: inline-block;
	    vertical-align: middle;
}
.lg-form-checkbox{
	position: relative;
	height: 30px;
	line-height: 30px;
	margin-right: 10px;
	padding-right: 30px;
	cursor: pointer;
	font-size: 0;
	-webkit-transition: .1s linear;
	transition: .1s linear;
	box-sizing: border-box;
}
.lg-form-item .lg-form-checkbox{
	    margin-top: 4px;
}
.lg-form-checkbox span{
	padding: 0 10px;
	height: 100%;
	font-size: 14px;
	border-radius: 2px 0 0 2px;
	background-color: #d2d2d2;
	color: #fff;
	overflow: hidden;
}
.lg-form-checkbox i{
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	height: 28px;
	border: 1px solid #d2d2d2;
	border-left: none;
	border-radius: 0 2px 2px 0;
	color: #fff;
	font-size: 20px;
	line-height: 28px;
	font-weight: 100;
	text-align: center;
}
.lg-form-checkbox-alone i{
    border-left: 1px solid #d2d2d2;
}
.lg-form-checkbox:hover span{
	background: #c2c2c2;
}
.lg-form-checkbox:hover i{
	color: #c2c2c2;
}
.lg-form-checked span,.lg-form-checked:hover span{
	background: #5FB878;
}
.lg-form-checked i,.lg-form-checked:hover i{
	display: block;
	color: #5FB878;
}

.lg-form-radio, .lg-form-radio *{
	    display: inline-block;
	    vertical-align: middle;
}
.lg-form-radio{
	line-height: 28px;
	    margin: 6px 10px 0 0;
	    padding-right: 10px;
	    cursor: pointer;
}
.lg-form-radio i{
	margin-right: 8px;
	    font-size: 22px;
	    color: #c2c2c2;
}
.lg-form-radio:hover i{
	color: #5FB878;
}
.lg-form-radioed i,.lg-form-radioed:hover i{
	color: #5FB878;
}
.lg-disabled, .lg-disabled:hover i{
	color: #d2d2d2!important;
	cursor: not-allowed!important;
}
.lg-disabled i{
	color: #d2d2d2!important;
}

.lg-form-switch{
	    position: relative;
	    height: 22px;
	    line-height: 22px;
	    min-width: 35px;
	    padding: 0 5px;
	    margin-top: 8px;
	    border: 1px solid #d2d2d2;
	    border-radius: 20px;
	    cursor: pointer;
	    background-color: #fff;
	    -webkit-transition: .1s linear;
	    transition: .1s linear;
}
.lg-form-switch span{
	position: relative;
	    top: 0;
	    width: 25px;
	    margin-left: 21px;
	    padding: 0!important;
	    text-align: center!important;
	    color: #999!important;
	    font-style: normal!important;
	    font-size: 12px;
}
.lg-form-switch i{
	position: absolute;
	    left: 5px;
	    top: 3px;
	    width: 16px;
	    height: 16px;
	    border-radius: 20px;
	    background-color: #d2d2d2;
	    -webkit-transition: .1s linear;
	    transition: .1s linear;
}
.lg-form-onswitch{
	background: #5FB878;
	border: 1px solid #5FB878;
}
.lg-form-onswitch span{
	color: #fff !important;
	margin-left: 0;
	margin-right: 21px;
}
.lg-form-onswitch i{
	background: #fff;
	margin-left: -21px;
	left: 100%;
}

.lg-input.lg-input-danger{
	/*border: 1px solid #D43F3A;*/
}
.lg-input.lg-input-danger:focus,.lg-input.lg-input-danger:hover{
	border: 1px solid #D43F3A;
}
.lg-input:focus,.lg-textarea:focus,.lg-input:hover,.lg-textarea:hover{
	border: 1px solid #c9c9c9;
}

.reg-error {
	border: 1px solid #FF5722 !important
}
	.reg-error:focus {
		border: 1px solid #FF5722 !important
	}
.layui-form-danger + .layui-form-select .layui-input, .layui-form-danger {
	border-color: #FF5722 !important
}
.lg-btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid #C2C2C2;
	border-radius: 4px;
	background: #fff;
}
.lg-btn:hover{
	opacity:0.8;
}
.lg-btn-default{
	background: #fff;
}
.lg-btn-info{
	color: #fff;
	background: #5bc0de;
	border: 1px solid #46b8da;
}
.lg-btn-sucess{
	color: #fff;
	background-color: #5cb85c;
	border-color: #4cae4c;
}
.lg-btn-warning{
	color: #fff;
	background-color: #f0ad4e;
	border-color: #eea236;
}
.lg-btn-danger{
	color: #fff;
	background-color: #d9534f;
	border-color: #d43f3a;
}
.lg-btn-primary{
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
}
.lg-btn-lg{
	padding: 10px 16px;
	font-size: 18px;
	border-radius: 6px;
}
.lg-btn-sm{
	padding: 5px 10px;
	font-size: 12px;
	border-radius: 3px;
}
.lg-btn-xs {
	padding: 0 6px;
	font-size: 12px;
	border-radius: 3px;
}
.lg-btn-disabled{
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}
.lg-btn-disabled:hover{
	opacity: 0.65;
}
.lg-btn:hover{
	color:#fff;
}
.lg-btn-default:hover{
	color:#999;
}
.lg-btn-block {
	display: block;
	width: 100%;
	margin: 5px 0;
}

.Photo-item:after{
	display: block;
	content: "";
	clear: both;
}
.photo-box{
	float: left;
	width: 120px;
}
.photo-box .img{
	width: 120px;
	height: 160px;
	margin-bottom: 15px;
	background: #f2f2f2 url(../images/img.png) center no-repeat;
}
.photo-text{
	margin: 0 0 0 150px;
	border-left: 5px solid #ccc;
	background: #f9f9f9;
	padding: 15px;
	min-height: 180px;
	overflow: auto;
	box-shadow: 0 0 2px 0 #ccc;
}
.photo-text::-webkit-scrollbar {/*滚动条整体样式*/
        width: 5px;     /*高宽分别对应横竖滚动条的尺寸*/
        height: 1px;
    }
.photo-text::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
        border-radius: 5px;
         -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
        background: #999;
    }
.photo-text::-webkit-scrollbar-track {/*滚动条里面轨道*/
        -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
        border-radius: 5px;
        background: #EDEDED;
}

.lg-sign-slide-button{
	display: inline-block;
	width: 120px;
	height: 35px;
	position: relative;
	z-index: 2;
	color: #fff;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	box-sizing: border-box;
}
.lg-sign-slide-button span{
	display: block;
	padding: 0 12px;
	height: 35px;
	line-height: 35px;
	background: #F0AD4E;
	text-align: left;
	border-radius: 4px;
	transition: all 0.2s;
	box-sizing: border-box;
}
.lg-sign-slide-button span.act{
	border-radius: 4px 4px 0 0;
}
.lg-sign-slide-button span:hover{
	opacity: 0.8;
}
.lg-sign-slide-button i{
	position: absolute;top: 11px;right: 0px; padding: 0 10px; border-left: 1px solid rgba(255,255,255,0.5);
}
.lg-sign-slide-button ul{
	display: none;
	position: absolute;
	top: 35px;
	left: 0;
	z-index: 2;
	width: 100%;
	background: #f2f2f2;
	border-radius: 4px;
}
.lg-sign-slide-button ul li{
	width: 100%;
	border-top: 1px solid #e8c89a;
}
.lg-sign-slide-button ul li a{
	display: block;
	padding: 3px 6px;
	background: #F0AD4E;
	text-decoration: none;
	color: #fff;
	transition: all 0.2s;
}
.lg-sign-slide-button ul li:last-child a{
	border-radius: 0 0 4px 4px;
}
.lg-sign-slide-button ul li a:hover{
	opacity: 0.8;
}

.lg-font-red{color:red}
.lg-font-green{color:green}
.lg-font-14 {
	font-size: 14px !important
}
.lg-font-16 {
	font-size: 16px !important
}
.lg-font-18 {
	font-size: 14px !important
}

@keyframes lg-upbit
{
    from {top:84px;opacity: 0;}
    to {top:42px;opacity: 1;}
}

@media screen and (max-width: 450px){
	.lg-input-inline{
		display: block;
		vertical-align: middle;
	}
	.lg-form-item .lg-input-inline{
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 15px;
	}
	.photo-box{
		float: none;
		width: 100%;
	}
	.photo-box .img{
		margin: 0 auto 1em auto;
	}
	.photo-text{
		margin: 1em 0;
	}
}
.lg-table-toolbar {
	border: 1px solid #eee;
	padding: 10px;
	background: #fafafa;
	border-bottom:none
}


/*选座界面UI*/
.seatBus {
	width: auto;
	height: 100%;
	position: fixed;
	right: 0;
	top: 0;
	background: #f0f0f0;
	padding: 120px 20px;
	font-size: 12px;
	z-index: 9999
}

	.seatBus .vehicleNo span {
		display: block;
		padding: 5px;
		border: 1px solid #ccc;
		margin: 5px 0
	}

		.seatBus .vehicleNo span.act {
			border: 1px solid #f00;
		}

	.seatBus .bus {
		border: 1px solid #ccc
	}

		.seatBus .bus p {
			line-height: 30px;
			text-align: center
		}

		.seatBus .bus ul {
			width: 130px;
			border-top: 1px solid #ccc;
			overflow: auto;
			padding: 10px;
		}

		.seatBus .bus li {
			float: left;
			text-align: center;
			width: 20px;
			height: 20px;
			border: 1px solid #ccc;
			margin: 3px;
			line-height: 20px;
		}

			.seatBus .bus li.left {
				margin-right: 20px
			}

			.seatBus .bus li.seat {
				background: green;
				color: #fff;
				cursor: pointer;
			}

			.seatBus .bus li.selected {
				background: #f00;
				color: #fff;
				cursor: default;
			}

input.chosing {
	border: 1px solid #f00 !important
}

.seatBus .close {
	display: block;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	margin: 30px auto;
	border: 2px solid #FF5722;
	border-radius: 50%;
	font-size: 20px;
	color: #FF5722
}
